package com.deer.wms.ware.task.constant;

/**
 * @author ll
 */
public class WareTaskConstant {
    /**
     * 项目基础包名称，根据公司实际项目修改
     */
    public static final String BASE_PACKAGE = "com.deer.wms.ware.task";

    /**
     * Model所在包
     */
    public static final String MODEL_PACKAGE = BASE_PACKAGE + ".model";

    /**
     * Dao所在包
     */
    public static final String DAO_PACKAGE = BASE_PACKAGE + ".dao";

    /**
     * MapperLocations
     */
    public static final String MAPPER_LOCATIONS = "classpath*:com/deer/wms/**/mapper/*.xml";

    /**
     */
    public static final int COMPANY_TYPE_OPERATE = -1;

    public static final int BOX_DETAIL_ORIGIN = 0;
    public static final int BOX_DETAIL_LOADED = 1;

    /**
     * SO状态 -1-取消
     */
    public static final Integer SO_STATE_CANCELED = -1;
    /**
     * SO状态 0-新建
     */
    public static final Integer SO_STATE_INIT = 0;
    /**
     * SO状态 1-待处理 -- 如高 已合并
     */
    public static final Integer SO_STATE_PROCESSING = 1;
    /**
     * SO状态 3-缺货
     */
    public static final Integer SO_STATE_OUTOFSTOCK = 3;
    /**
     * SO状态 4-已分配
     */
    public static final Integer SO_STATE_ASSIGNED = 4;
    /**
     * SO状态 6-拣货完成
     */
    public static final Integer SO_STATE_PICKED = 6;
    /**
     * SO状态 7-已复核
     */
    public static final Integer SO_STATE_CHECKED = 7;
    /**
     * SO状态 8-已发运
     */
    public static final Integer SO_STATE_OUTED = 8;
    /**
     * SO状态 9-部分发运
     */
    public static final Integer SO_STATE_NINE = 9;

    /**
     * SO明细状态 0-新建
     */
    public static final Integer SO_DETAIL_STATE_INIT = 0;
    /**
     * SO明细状态 1-部分发货
     */
    public static final Integer SO_DETAIL_STATE_PART_SEND = 1;
    /**
     * SO明细状态 2-全部发货
     */
    public static final Integer SO_DETAIL_STATE_ALL_SEND = 2;
    /**
     * SO明细状态 3-部分拣货
     */
    public static final Integer SO_DETAIL_STATE_PART_PICK = 3;
    /**
     * SO明细状态 4-全部拣货
     */
    public static final Integer SO_DETAIL_STATE_ALL_PICK = 4;

    /**
     * 拣货状态 0-待拣货
     */
    public static final Integer PICK_STATE_PROCESSING = 0;
    /**
     * 拣货状态 1-部分拣货
     */
    public static final Integer PICK_STATE_PARTPICK = 1;
    /**
     * 拣货状态 2-拣货完成
     */
    public static final Integer PICK_STATE_ALLPICK = 2;
    /**
     * 拣货状态 3-取消拣货
     */
    public static final Integer PICK_STATE_CANCELED = 3;
    /**
     * 拣货状态 4-已合并
     */
    public static final Integer PICK_STATE_MERGED = 4;
    /**
     * 拣货状态 5-已发运
     */
    public static final Integer PICK_STATE_OUTED = 5;


    public static final Integer OUT_STATE_INIT = 0;
    public static final Integer OUT_STATE_DOING = 4;
    public static final Integer OUT_STATE_CLOSE = 8;
    /**
     * 非自动关闭
     */
    public static final Integer OUT_STATE_CLOSE2 = 9;
    public static final Integer OUT_STATE_SING = 10;



    /**
     * 波次状态 0-新建(波次) 待分配（波次明细）
     */
    public static final Integer WAVE_STATE_PROCESSING = 0;
    /**
     * 波次状态 1-执行中 (波次) 部分分配(波次明细)
     */
    public static final Integer WAVE_STATE_PICKING = 1;
    /**
     * 完全分配（波次明细）
     */
    public static final Integer WAVE_STATE_ALL_ALOT = 2;
    /**
     * 波次状态 2-拣货完成
     */
    public static final Integer WAVE_STATE_PICKED = 4;
    /**
     * 波次状态 3-复核完成
     */
    public static final Integer WAVE_STATE_CHECKED = 5;
    /**
     * 波次状态 4-发运完成
     */
    public static final Integer WAVE_STATE_SEND = 6;

    /**
     * 已完毕(波次)（波次明细）
     */
    public static final Integer WAVE_STATE_CLOSE = 8;
}
